local zsetKey = "chat_group:group_users:groupID_" .. ARGV[1]
local zsetKey2 = "chat_group:group_message:groupID_" .. ARGV[1]
redis.call('DEL',zsetKey)
redis.call('DEL',zsetKey2)

for i = 1, #KEYS do
    local newKey1 = "chat_group:user_group_list:ID_" .. KEYS[i]
    local newKey2 = "chat_group:user_group_object:ID_" .. KEYS[i] .. ":" .. ARGV[1]
    redis.call('ZREM',newKey1,ARGV[1])
    redis.call('DEL',newKey2)
end